put his nose out of joint

vt.使他失宠眼红,使他计划落空